{if $el.group == ""}
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F8F9F9">	
	<tr>
		<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
		<td width="170" height="25" class="defaultFormLabel">{if $el.name}{t t=$el.name}{else}{t t=$name}{/if}</td>
		<td>
				{if $el.name}
					{ext->get_field_value assign="value" name=$el.name parent=$data.page.id}
					{if $value == "" && $el.name == 'static_url'}{assign var="value" value="http://"}{/if}
					<input type="text" name="{$el.name}" value="{$value|escape:"html"}"{if $el.value=="readonly"} readonly="1"{/if} class="defaultInputText">
				{else}
					{ext->get_field_value assign="value" name=$name parent=$data.page.id}
					{if $value == "" && $name == 'static_url'}{assign var="value" value="http://"}{/if}
					<input type="text" name="{$name}" value="{$value|escape:"html"}"{if $el.value=="readonly"} readonly="1"{/if} class="defaultInputText">
				{/if}
		</td>		
	</tr>
</table>
{else}
	{if $el.name}
		{ext->get_field_value assign="value" name=$el.name parent=$data.page.id}
		{if $value == "" && $el.name == 'static_url'}{assign var="value" value="http://"}{/if}
		<input type="hidden" id="{$el.name}_id" name="{$el.name}" value="{$value|escape:"html"}">
	{else}
		{ext->get_field_value assign="value" name=$name parent=$data.page.id}
		{if $value == "" && $name == 'static_url'}{assign var="value" value="http://"}{/if}
		<input type="hidden" id="{$el.name}_id" name="{$name}" value="{$value|escape:"html"}">
	{/if}
{/if}
